package com.my.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class Token {

    @TableId(type = IdType.INPUT)
    private String token;
    private Long userId;
    private Integer type;
    private Date invalidTime;

}
